projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
709b190
)
x86: ivybridge: Drop the dead MTRR code
author
Simon Glass
<
[email protected]
>
Sun, 17 Jan 2016 23:11:26 +0000
(16:11 -0700)
committer
Bin Meng
<
[email protected]
>
Sun, 24 Jan 2016 04:08:17 +0000
(12:08 +0800)
This is not used and MTRRs are set up elsewhere now. Drop it.
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/cpu/ivybridge/model_206ax.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/ivybridge/model_206ax.c
b/arch/x86/cpu/ivybridge/model_206ax.c
index a217954ba68d6d89ae2bc87d63951683de8a51fc..9654600cf17866708698a3347a9fa6f7720ebec3 100644
(file)
--- a/
arch/x86/cpu/ivybridge/model_206ax.c
+++ b/
arch/x86/cpu/ivybridge/model_206ax.c
@@
-412,16
+412,6
@@
static int model_206ax_init(struct udevice *dev)
set_ehci_debug(0);
#endif
- /* Setup MTRRs based on physical address size */
-#if 0 /* TODO: Implement this */
- struct cpuid_result cpuid_regs;
-
- cpuid_regs = cpuid(0x80000008);
- x86_setup_fixed_mtrrs();
- x86_setup_var_mtrrs(cpuid_regs.eax & 0xff, 2);
- x86_mtrr_check();
-#endif
-
#if CONFIG_USBDEBUG
set_ehci_debug(ehci_debug_addr);
#endif